// ==========================================================================
// Interface file for Info
//
// Solution for CPSC 4780 Fall 2010 Group Project
// FeiWang
// April 8, 2011
//
// This class contain infomation for a service
// ==========================================================================
#ifndef INFO_H
#define INFO_H
using namespace std;
/*since all the data trans via socket, info class use string to store data*/
class info{
  
  public:
   info(const string arg_prog,const string arg_address,const string arg_port)
   {
     prog = arg_prog;
     address = arg_address;
     port = arg_port;
    }
   string get_address() const{return address;}
   string get_port()const {return port;}
   string get_prog() const{return prog;}
   
  private:   
   string prog;
   string address;
   string port;

};
#endif
